
<html>
	<head>
	 <meta content="text/html; charset=GBK" http-equiv="Content-Type" />
		<script type="text/javascript" src="js/swfobject.js"></script>
		<script type="text/javascript" src="js/json/json2.js"></script>
		<script type="text/javascript">
			swfobject.embedSWF("open-flash-chart.swf", "my_chart", "550", "300", "9.0.0");
         var data={ "elements": [ 
                                 { "type": "pie", 
                                    "width": 1, 
                                    "dot-style": { "type": "dot", "colour": "#9C0E57", "dot-size": 7 }, 
                                    "colour": "#C4B86A", 
                                    "fill": "#C4B86A", 
                                    "fill-alpha": 0.7, 
                                    "tip": "#val# of #total# \n#percent# of 100%", 
                                    "values": [ 2,6,8,12,{ "value": 9.5, "label": "hello (9.5)" }]
                                   }], 
                    "title": { "text": "Area Chart" }, 
                    "bg_colour": "#FFFFFF" 
                  }

             function open_flash_chart_data()
			{
				    return JSON.stringify(data);
			}

     
		</script>
	</head>
	<body>
		<div id="my_chart"></div>
	</body>
</html>